﻿using Dapper_Core.Model;
using Dapper_Core.Table;
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Text;

namespace Dapper_Core.BLL.Interface
{
    public interface ISys_DictionaryBusiness
    {
        /// <summary>
        /// 检查系统字典是否存在
        /// </summary>
        /// <param name="dictCode">字典Code</param>
        /// <returns></returns>
        bool IsExist(string dictCode);

        /// <summary>
        /// 根据条件获取增强版的字典信息列表，增加的内容：VirtualParentCode
        /// </summary>
        /// <param name="search">筛选条件</param>
        /// <returns></returns>
        List<Sys_DictionaryExtend> GetExtendList(string search);
    }
}
